<script setup >
const id = ref('')
onActivated(() => {
  const route = useRoute()
  id.value = route.query.id
  console.log('onActivated')
  console.log(route.query.id)
})
onMounted(() => {
  const route = useRoute()
  id.value = route.query.id
  console.log('onActivated')
  console.log(route.query.id)
})
</script>

<template>
  历届活动详情 {{id}}
</template>

<style scoped lang="scss">

</style>